//
//  XKLNewViewController.m
//  GuiZiShouDuanZi
//
//  Created by xmg on 16/4/24.
//  Copyright © 2016年 xiao_kl. All rights reserved.
//

#import "XKLNewViewController.h"
#import "XKLRecommendTagsTableViewController.h"

@implementation XKLNewViewController

-(void)viewDidLoad{
    [super viewDidLoad];
    
    self.navigationItem.titleView=[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"MainTitle"]];
    
    self.navigationItem.leftBarButtonItem=[UIBarButtonItem itemWithImageName:@"MainTagSubIcon" seletImageName:@"MainTagSubIconClick" target:self sel:@selector(newClick:)];
    
}

-(void)newClick:(UIButton *)but{
    
    XKLRecommendTagsTableViewController *recomVC = [[XKLRecommendTagsTableViewController alloc] init];
    
    [self.navigationController pushViewController:recomVC animated:YES];
}

//重写方法获取新帖
-(NSString *)topicType{
    return @"newlist";
}

@end
